package com.mall.order.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderDetailById implements Serializable {
    //对象要序列化成字节序列才能通过网络传输到网关，实现序列化接口
    /**
     * userName : test
     * orderTotal : 20
     * userId : 62
     * goodsList : [{"id":"20112110475211409","itemId":"100057401","orderId":"20112110475211187","num":1,"title":"Smartisan T恤 迪特拉姆斯","price":20,"totalFee":20,"picPath":"https://resource.smartisan.com/resource/005c65324724692f7c9ba2fc7738db13.png"}]
     * tel : 18782059038
     * streetName : 上海青浦区汇联路
     * orderStatus : 1
     */
    private String userName;
    private BigDecimal orderTotal;
    private Long userId;
    private String tel;
    private String streetName;
    private Integer orderStatus;
    private List<OrderItemDto> goodsList;
}

